package com.fc.campusapplicationsystem.mapper;

import com.fc.campusapplicationsystem.model.Unit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author 贺哲
 * @2020-02-29 15:33
 */
@Repository
public interface UnitMapper extends Mapper<Unit> {
    List<Unit> listUnit(@Param("key") String key);

    Integer add(Unit unit);
}
